X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/74c155708d85abfc2cf227c08de4f27003015b3f..097781e6ad3f7bb1c13c16ff7b6bb7219764fb29:/Super%20Polarity/Actors/Bullet.cs diff --git a/Super Polarity/Actors/Bullet.cs b/Super Polarity/Actors/Bullet.cs index 5a7be03..6b797c2 100644 --- a/Super Polarity/Actors/Bullet.cs +++ b/Super Polarity/Actors/Bullet.cs @@ -29,6 +29,7 @@ namespace SuperPolarity BoxDimensions.Y = 10; BoxDimensions.W = 10; BoxDimensions.Z = 10; + MaxVelocity = 8; InitBox(); particleEngine = ParticleEffectFactory.CreateBullet(position); } @@ -66,6 +67,7 @@ namespace SuperPolarity protected override void Die() { ActorManager.CheckOut(this); + Renderer.CheckOut(this); Parent.Children.Remove(this); } }